Platform Explorer / Nuxeo Platform 11.4

Contribution org.nuxeo.ecm.platform.video.layouts--widgets

This contribution is part of XML component org.nuxeo.ecm.platform.video.layouts inside nuxeo-platform-video-jsf-11.4.jar /OSGI-INF/layouts-contrib.xml

Extension Point

Extension point widgets of component WebLayoutManager.

Registration Order

22
The registration order represents the order in which this contribution was registered on its target extention point. This will impact the override/merge behaviour when it is implemented on the target service, and is useful for proper customization of existing contributions.
You can influence this order by adding "require" tags in the containing component declaration, to make sure it is resolved after another component (see "Resolution Order" on components).

Contributed Items

  • <widget name="summary_video_player" type="video_player">
          <properties widgetMode="any">
            <property name="width">100%</property>
            <property name="height">380</property>
          </properties>
        </widget>
  • <widget name="summary_video_storyboard" type="video_storyboard">
          <labels>
            <label mode="any">heading.storyboard</label>
          </labels>
          <translated>true</translated>
          <controls mode="any">
            <control name="handleLabels">true</control>
          </controls>
          <widgetModes>
            <mode value="any">#{not empty currentDocumentAsBlobHolder.blob ? 'view' : 'hidden'}</mode>
          </widgetModes>
        </widget>
  • <widget name="summary_video_conversions" type="video_conversions">
          <labels>
            <label mode="any">heading.videoConversions</label>
          </labels>
          <controls mode="any">
            <control name="requireSurroundingForm">true</control>
            <control name="handleLabels">true</control>
          </controls>
          <widgetModes>
            <mode value="any">#{not empty  currentDocumentAsBlobHolder.blob ? 'view' : 'hidden'}</mode>
          </widgetModes>
        </widget>
  • <widget name="summary_video_info" type="video_info">
          <labels>
            <label mode="any">heading.video.info</label>
          </labels>
          <controls mode="any">
            <control name="handleLabels">true</control>
          </controls>
        </widget>
  • <widget name="video_info_duration" type="text">
          <labels>
            <label mode="any">label.widget.video.duration</label>
          </labels>
          <translated>true</translated>
          <fields>
            <field>vid:info/duration</field>
          </fields>
          <widgetModes>
            <mode value="any">view</mode>
          </widgetModes>
        </widget>
  • <widget name="video_info_width" type="int">
          <labels>
            <label mode="any">label.widget.video.width</label>
          </labels>
          <translated>true</translated>
          <fields>
            <field>vid:info/width</field>
          </fields>
          <widgetModes>
            <mode value="any">view</mode>
          </widgetModes>
        </widget>
  • <widget name="video_info_height" type="int">
          <labels>
            <label mode="any">label.widget.video.height</label>
          </labels>
          <translated>true</translated>
          <fields>
            <field>vid:info/height</field>
          </fields>
          <widgetModes>
            <mode value="any">view</mode>
          </widgetModes>
        </widget>
  • <widget name="video_info_format" type="text">
          <labels>
            <label mode="any">label.widget.video.format</label>
          </labels>
          <translated>true</translated>
          <fields>
            <field>vid:info/format</field>
          </fields>
          <widgetModes>
            <mode value="any">view</mode>
          </widgetModes>
        </widget>
  • <widget name="video_info_frameRate" type="text">
          <labels>
            <label mode="any">label.widget.video.frameRate</label>
          </labels>
          <translated>true</translated>
          <fields>
            <field>vid:info/frameRate</field>
          </fields>
          <widgetModes>
            <mode value="any">view</mode>
          </widgetModes>
        </widget>
  • <widget name="video_info_streams" type="list">
          <labels>
            <label mode="any">label.widget.video.streams</label>
          </labels>
          <translated>true</translated>
          <fields>
            <field>vid:info/streams</field>
          </fields>
          <properties widgetMode="edit">
            <property name="required">true</property>
          </properties>
          <subWidgets>
            <widget name="listItem" type="text">
              <fields>
                <field>streamInfo</field>
              </fields>
              <labels>
                <label mode="any"/>
              </labels>
              <widgetModes>
                <mode value="any">view</mode>
              </widgetModes>
            </widget>
          </subWidgets>
        </widget>
  • <widget name="videoFile" type="video_file">
          <labels>
            <label mode="any">label.file.content</label>
          </labels>
          <translated>true</translated>
          <fields>
            <field>file:content</field>
            <field>file:content/name</field>
          </fields>
        </widget>
  • <widget name="infoViewVideoPlayer" type="container">
          <handlingLabels>false</handlingLabels>
          <properties widgetMode="any">
            <property name="hideSubLabels">true</property>
            <property name="styleClass">infoViewDocContainer</property>
            <property name="display">block_top</property>
          </properties>
          <subWidgets>
            <widget name="videoPlayer" type="video_player">
              <properties widgetMode="any">
                <property name="width">100%</property>
                <property name="height">600</property>
              </properties>
            </widget>
          </subWidgets>
        </widget>

XML Source

<extension point="widgets" target="org.nuxeo.ecm.platform.forms.layout.WebLayoutManager">

    <widget name="summary_video_player" type="video_player">
      <properties widgetMode="any">
        <property name="width">100%</property>
        <property name="height">380</property>
      </properties>
    </widget>

    <widget name="summary_video_storyboard" type="video_storyboard">
      <labels>
        <label mode="any">heading.storyboard</label>
      </labels>
      <translated>true</translated>
      <controls mode="any">
        <control name="handleLabels">true</control>
      </controls>
      <widgetModes>
        <mode value="any">#{not empty currentDocumentAsBlobHolder.blob ? 'view' : 'hidden'}</mode>
      </widgetModes>
    </widget>

    <widget name="summary_video_conversions" type="video_conversions">
      <labels>
        <label mode="any">heading.videoConversions</label>
      </labels>
      <controls mode="any">
        <control name="requireSurroundingForm">true</control>
        <control name="handleLabels">true</control>
      </controls>
      <widgetModes>
        <mode value="any">#{not empty  currentDocumentAsBlobHolder.blob ? 'view' : 'hidden'}</mode>
      </widgetModes>
    </widget>

    <widget name="summary_video_info" type="video_info">
      <labels>
        <label mode="any">heading.video.info</label>
      </labels>
      <controls mode="any">
        <control name="handleLabels">true</control>
      </controls>
    </widget>

    <widget name="video_info_duration" type="text">
      <labels>
        <label mode="any">label.widget.video.duration</label>
      </labels>
      <translated>true</translated>
      <fields>
        <field>vid:info/duration</field>
      </fields>
      <widgetModes>
        <mode value="any">view</mode>
      </widgetModes>
    </widget>

    <widget name="video_info_width" type="int">
      <labels>
        <label mode="any">label.widget.video.width</label>
      </labels>
      <translated>true</translated>
      <fields>
        <field>vid:info/width</field>
      </fields>
      <widgetModes>
        <mode value="any">view</mode>
      </widgetModes>
    </widget>

    <widget name="video_info_height" type="int">
      <labels>
        <label mode="any">label.widget.video.height</label>
      </labels>
      <translated>true</translated>
      <fields>
        <field>vid:info/height</field>
      </fields>
      <widgetModes>
        <mode value="any">view</mode>
      </widgetModes>
    </widget>

    <widget name="video_info_format" type="text">
      <labels>
        <label mode="any">label.widget.video.format</label>
      </labels>
      <translated>true</translated>
      <fields>
        <field>vid:info/format</field>
      </fields>
      <widgetModes>
        <mode value="any">view</mode>
      </widgetModes>
    </widget>

    <widget name="video_info_frameRate" type="text">
      <labels>
        <label mode="any">label.widget.video.frameRate</label>
      </labels>
      <translated>true</translated>
      <fields>
        <field>vid:info/frameRate</field>
      </fields>
      <widgetModes>
        <mode value="any">view</mode>
      </widgetModes>
    </widget>

    <widget name="video_info_streams" type="list">
      <labels>
        <label mode="any">label.widget.video.streams</label>
      </labels>
      <translated>true</translated>
      <fields>
        <field>vid:info/streams</field>
      </fields>
      <properties widgetMode="edit">
        <property name="required">true</property>
      </properties>
      <subWidgets>
        <widget name="listItem" type="text">
          <fields>
            <field>streamInfo</field>
          </fields>
          <labels>
            <label mode="any"/>
          </labels>
          <widgetModes>
            <mode value="any">view</mode>
          </widgetModes>
        </widget>
      </subWidgets>
    </widget>

    <widget name="videoFile" type="video_file">
      <labels>
        <label mode="any">label.file.content</label>
      </labels>
      <translated>true</translated>
      <fields>
        <field>file:content</field>
        <field>file:content/name</field>
      </fields>
    </widget>

    <widget name="infoViewVideoPlayer" type="container">
      <handlingLabels>false</handlingLabels>
      <properties widgetMode="any">
        <property name="hideSubLabels">true</property>
        <property name="styleClass">infoViewDocContainer</property>
        <property name="display">block_top</property>
      </properties>
      <subWidgets>
        <widget name="videoPlayer" type="video_player">
          <properties widgetMode="any">
            <property name="width">100%</property>
            <property name="height">600</property>
          </properties>
        </widget>
      </subWidgets>
    </widget>

  </extension>